package com.example.a_java.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("sys_role")
public class SysRole {
    
    @TableId(value = "role_id", type = IdType.AUTO)
    private Long roleId;
    
    private String roleName;
    
    private String roleKey;
    
    private Integer sortOrder;
    
    private Integer dataScope;
    
    private Integer status;
    
    private Long createBy;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    private Long updateBy;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    
    private String remark;
    
    @TableLogic
    private Integer isDeleted;
} 
